package com.csvc.repository.cmdb.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csvc.repository.cmdb.domain.CmSynOrder;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author vincent zou
 * @since 2021-01-10
 */
public interface CmSynOrderMapper extends BaseMapper<CmSynOrder> {

//	@Select("select * from cm_syn_order where src_ins_name = #{srcInsName}  and busi_no != #{busiNo}"+
//	" and dest_ins_name = #{destInsName} and src_schema = #{srcSchema} and dest_schema = #{destSchema}"+
//	" and created_time > DATE_SUB(CURDATE(), INTERVAL 30 DAY) and status in (0,1)")
	public List<CmSynOrder> qryOrders(Map<String,Object> params) ;

}
